package com.shujia.four;

public class Animal {

    private String name;

    public void eat() {
        System.out.println(name + ": animal eat...");
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
